#include "CustomerManyStrategy.h"
#include <QDebug>

#include "UI/ModRun/Output/FactoryOutput.h"

double CustomerManyStrategy::getPrice(double standardPrice)
{
    QString strOutput = "普通客户大批量, 打9折";
    qDebug() << strOutput;
    std::shared_ptr<IOutput> pOutPut = FactoryOutput::GetInstance()->CreateRunOutput();
    if (pOutPut)
    {
        std::initializer_list<QString> outList{ strOutput };
        pOutPut->OutPut(outList);
    }
    return standardPrice * 0.9;
}
